/**
 * 接口域名的管理
 * 开发环境与生产环境
 * 开发环境接口地址：'http://8.142.139.164:8764'
 * 测试服务器接口地址：'http://8.142.139.164:8764'
 * 正式服务器接口地址：''
 * http://8.142.139.164:8764/swagger/index.html
 */

let serveUrl;
if (['test', 'checkTest', 'development'].includes(process.env.NODE_ENV)) {
  serveUrl = {
    cs: "http://8.142.139.164:8900/SalaryService"
  };
} else if (process.env.NODE_ENV == "pre") {
  serveUrl = {
    cs: "http://39.107.26.138:8900/PreSalaryService"
  };
} else if (process.env.NODE_ENV == "prod") {
  serveUrl = {
    cs: "https://enterprise.yundaizhang.com.cn:8900/SalaryService"
  };
}else if (process.env.NODE_ENV == 'newProd') {
  serveUrl = {
    // cs: "https://enterprise.zhangsanfeng.vip/SalaryService"
    cs: "https://zhangsanfeng.vip/SalaryService"
  };
}
export default serveUrl;
